package land;


import Vo.Land;
import Vo.MedicalPay;
import Vo.Store;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import page.PageBean;
import util.JsonResult;

import java.util.List;

@FeignClient
@LoadBalancerClient
public interface MedicalPayInterface {

    @RequestMapping("/medic/getAll")
    List<MedicalPay> queryAll(@RequestBody PageBean pageBean);

    @RequestMapping("/medic/queryById")
    boolean queryByLandId(@RequestBody MedicalPay medicalPay);

    @RequestMapping("/medic/insertMedicPay")
    boolean addMedicPay(@RequestBody MedicalPay medicalPay);

    @RequestMapping("/medic/deleteById")
    boolean deleteById(@RequestBody MedicalPay medicalPay);

}
